package org.csu.laboratoryequipment.service;


import org.csu.laboratoryequipment.common.CommonResponse;
import org.csu.laboratoryequipment.entity.History;
import org.csu.laboratoryequipment.entity.Searchrecord;

import java.util.Date;
import java.util.List;

public interface HistoryService {
    public CommonResponse<List<History>> getHistorySearchByUid(String userid);
    public CommonResponse<String> saveScore(String userid, String history_word, double score, double com_avg, Date time);

    public CommonResponse<List<History>> getHistory();

    public CommonResponse<List<History>> getHistoryByTime(Date startTime,Date endTime);
}
